package com.bndg.blackjack.services

import android.app.Service

abstract class BaseService : Service() {
    var dataCallback: IDataCallback? = null
    abstract fun sentMsg(data: String)
}

interface IDataCallback {
    fun onReceived(data: String)
    fun onClientConnected()
    fun onServerListening(ipAddress: String, serverPort: Int)
    fun onServerConnected(b: Boolean)
}
